
<form action="/demo/saveFile" method="POST" enctype="multipart/form-data">
    <div class="form-group">
        <label for="file1">上传文件</label>
        <input type="file" name="file1" id="file1" class="file" />
    </div>
    <div class="form-group">
        <button type="submit">确定</button>
    </div>
</form>